#
# Be sure to run `pod lib lint FRQBluetoothKit.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'FRQBluetoothKit'
  s.version          = '0.1.10'
  s.summary          = 'A short description of FRQBluetoothKit.'

# This description is used to generate tags and improve search results.
#   * Think: What does it do? Why did you write it? What is the focus?
#   * Try to keep it short, snappy and to the point.
#   * Write the description between the DESC delimiters below.
#   * Finally, don't worry about the indent, CocoaPods strips it!

  s.description      = <<-DESC
TODO: Add long description of the pod here.
                       DESC

  s.homepage         = 'https://github.com/wihy/FRQBluetoothKit'
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'xuchunhai' => 'xuchunhai@soulapp.cn' }
  
  s.source           = { :git => 'git@github.com:wihy/FRQBluetoothKit.git', :tag => s.version.to_s } #远端路径
#  s.source           = { :git => '/Users/chunhaixu/FRQBluetoothKit/' } #本地路径
  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'

  s.ios.deployment_target = '9.0'

  s.subspec 'BluetoothUtil' do |bu|
      bu.private_header_files = 'FRQBluetoothKit/Classes/BluetoothUtil/*.h'
      bu.source_files = 'FRQBluetoothKit/Classes/BluetoothUtil/*.{h,m}'
  end

  s.subspec 'PublicSource' do |ps|

    ps.public_header_files = 'FRQBluetoothKit/Classes/PublicSource/*.h'
    ps.source_files = 'FRQBluetoothKit/Classes/PublicSource/*.{h,m}'
    ps.dependency  'FRQBluetoothKit/BluetoothUtil'

  end
  
   s.frameworks = 'CoreBluetooth', 'Foundation'
   s.pod_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }
   
end
